package com.huzz.controller;

import cn.dev33.satoken.annotation.SaCheckRole;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Name 名称
 * @Description 描述
 * @Author 童年的纸飞机
 * @Since 2023-08-2023/8/1 16:20
 */
@Api(tags = "服务4的测试模块 API")
@RestController
@RequestMapping("/api/app")
public class TestController {


    @ApiOperation(value = "服务1返回的消息")
    @SaCheckRole("admin")
    @GetMapping("/getMessageInfo")
    public String getMessageInfo() {
        return "服务1返回的消息";
    }

}
